package Odhgos_Polhs;

import java.util.ArrayList;

public class RegUser extends GenUser{
    
    //Attributes
    
    private Search SearchResult;  //Υλοποίηση σχέσης με Search
    private ArrayList<Reservation> reservationList = new ArrayList<Reservation>();  //Υλοποίηση σχέσης με Reservation
    private ArrayList<Evaluation> evaluationList = new ArrayList<Evaluation>();  //Υλοποίηση σχέσης με Evaluation

    //2 Constructors
    //1 με το λογαριασμό και 1 χωρίς
    public RegUser(int ID, String onoma, String eponymo, String Email, String thlefono) {
        super(ID, onoma, eponymo, Email, thlefono);
    }

    public RegUser(int ID, String onoma, String eponymo, String Email, String thlefono, Account account) {
        super(ID, onoma, eponymo, Email, thlefono, account);
    }
    
    //All Getters & Setters

    public Search getSearchResult() {
        return SearchResult;
    }

    public void setSearchResult(Search SearchResult) {
        this.SearchResult = SearchResult;
    }

    public ArrayList<Evaluation> getEvaluationList() {
        return evaluationList;
    }

    public void setEvaluationList(ArrayList<Evaluation> evaluationList) {
        this.evaluationList = evaluationList;
    }

    public ArrayList<Reservation> getReservationList() {
        return reservationList;
    }

    public void setReservationList(ArrayList<Reservation> reservationList) {
        this.reservationList = reservationList;
    }
    


}// End Class RegUser
